package com.changzhi.ldyl.model.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @Description:
 * @author: 小落
 * @date: 2020年11月23日
 */
@Data
public class NewYearDto extends BaseDto {

	@Range(min = 0, max = 5, message = "类型非法")
	private Integer type;

	private Integer giftId;

	private Integer flame;

	@Range(min = 1,  message = "关卡非法")
	private Integer level;

	@Range(min = 1, max = 20, message = "位置非法")
	private Integer location;
}
